home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / standard / getbutton.z / getbutton
Encoding:
Text File  |  2002-10-03  |  1.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggeeeettttbbbbuuuuttttttttoooonnnn((((3333GGGG))))                                                    ggggeeeettttbbbbuuuuttttttttoooonnnn((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggeeeettttbbbbuuuuttttttttoooonnnn - returns the state of a button
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      BBBBoooooooolllleeeeaaaannnn ggggeeeettttbbbbuuuuttttttttoooonnnn((((nnnnuuuummmm))))
  13.      DDDDeeeevvvviiiicccceeee nnnnuuuummmm;;;;
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _n_u_m   is the device number of the button you want to test.
  17.  
  18. FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  19.      There are two possible return values for this function:
  20.  
  21.      FFFFAAAALLLLSSSSEEEE   indicates that button _n_u_m is up.
  22.  
  23.      TTTTRRRRUUUUEEEE    indicates that button _n_u_m is down.
  24.  
  25.      The return value is undefined if there was an error, e.g.  _n_u_m is not a
  26.      button device.
  27.  
  28. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  29.      ggggeeeettttbbbbuuuuttttttttoooonnnn returns the state of button _n_u_m.
  30.  
  31. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  32.      getdev
  33.  
  34. NNNNOOOOTTTTEEEE
  35.      This routine is available only in immediate mode.
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.